import { createApp } from 'vue';
import App from './App.vue';
import router from './router'
import store from './store'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn'; // 导入中文语言包
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import "./assets/icon/iconfont.css"
import "./style.scss"
const app = createApp(App);

app.use(store).use(router).use(ElementPlus,{
    locale: zhCn,
})
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
// 挂载应用
app.mount('#app');
